/*
 * many functions for utf8
 */

#ifndef __UTILS_UNICODE_
#define __UTILS_UNICODE_

gunichar
GetUnicodeChar(gchar * utf8_char, glong offset);

glong
AsciiIndexToUTF8Index(const gchar *pText,
                        glong asciiIndex);


glong
UTF8IndexToAsciiIndex(const gchar *pText,
                        glong utf8Index);

#endif
